@import '../../../assets/less/common.less';

.detail {
  width: 750rpx;
  min-height: 100vh;
  background-color: #F9F7F7;
  padding-top: 20rpx;
  .address-card {

    width: 686rpx;
    height: 146rpx;
    margin: 0 auto;
    
    background: #ffffff;
    border-radius: 8rpx;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 32rpx;
    box-sizing: border-box;

    .info-card {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      font-weight: 600;
      font-size: 28rpx;

      .locate-icon {
        width: 40rpx;
        height: 40rpx;
        margin-right: 20rpx;
        .hm-img("@{baseUrl}/spec/locate.png")
      }
    }

    .phone-card {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding-left: 60rpx;
      margin-top: 10rpx;
      font-size: 24rpx;
      color: rgba(0, 0, 0, 0.40);

      .name {}

      .phone {
        margin-left: 16rpx;
      }
    }

    .more-icon {
      width: 28rpx;
      height: 28rpx;
      position: absolute;
      right: 24rpx;
      top: 50%;
      transform: translateY(-50%);
      .hm-img("@{baseUrl}/spec/more.png")
    }
  }

  .goods-card {
    width: 686rpx;
    min-height: 344rpx;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 20rpx;
    background: #ffffff;
    border-radius: 8rpx;
    padding: 24rpx;
    overflow: hidden;

    .good-item {
      width: 100%;
      height: 120rpx;
      // background-color: turquoise;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      box-sizing: border-box;
      margin-bottom: 10rpx;

      .good-img {
        width: 120rpx;
        height: 120rpx;
        border-radius: 4rpx;
        border: 2rpx solid #DCDCDC;
        flex-shrink: 0;
        box-sizing: border-box;
      }

      .good-detail {
        box-sizing: border-box;

        width: 358rpx;
        height: 120rpx;
        margin-left: 16rpx;
        flex-grow: 1;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
        flex-shrink: 0;

        .title {
          font-size: 28rpx;
          color: #333;
          .hm-ellipsis-multiple(2);
        }

        .specs {
          font-size: 24rpx;
          color: rgba(0, 0, 0, .4);
          // margin-bottom: 20rpx;
        }
      }

      .good-count {
        box-sizing: border-box;

        width: 120rpx;
        height: 120rpx;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-direction: column;
        flex-shrink: 0;

        .price {
          font-size: 32rpx;
        }

        .count {
          font-size: 24rpx;
          color: rgba(0, 0, 0, .4);
          margin-bottom: 20rpx;
        }
      }
    }

    .fee-item {
      width: 100%;
      margin-top: 48rpx;
      height: 40rpx;
      // background-color: turquoise;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .name {
        font-size: 28rpx;
        color: #333;
      }

      .price {
        font-size: 28rpx;
        color: #333;

      }
    }

    .remark-item {
      width: 100%;
      margin-top: 48rpx;
      height: 40rpx;
      // background-color: turquoise;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .name {
        font-size: 28rpx;
        color: #333;
      }

      .remark {
        font-size: 24rpx;
        color: rgba(0, 0, 0, .4);
        display: flex;
        justify-content: flex-end;
        align-items: center;
        .text {
          max-width: 300rpx;
          .hm-ellipsis();
        }

        // .remark{
        display: flex;
        justify-content: flex-start;
        align-items: center;

        .more-icon {
          width: 28rpx;
          height: 28rpx;

          .hm-img("@{baseUrl}/spec/more.png")
        }

        // }
      }
    }
  }

  .coupon-card {
    width: 686rpx;
    height: 104rpx;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 20rpx;
    background: #ffffff;
    border-radius: 8rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32rpx 24rpx;

    .name {
      color: #333333;
      font-size: 28rpx;
    }

    .more {
      color: rgba(0, 0, 0, 0.40);
      font-size: 24rpx;
    }
  }

  .fee-card {
    margin: 0 auto;
    margin-top: 20rpx;
    width: 686rpx;
    height: 104rpx;
    background: #ffffff;
    border-radius: 8rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 32rpx 24rpx;

    .name {
      font-size: 28rpx;
      color: #333333;
    }

    .price {
      font-size: 40rpx;
      font-weight: 500;
      color: #F92929;

      .unit {
        font-size: 28rpx;
      }

    }
  }

  .btn-wrap {
    width: 750rpx;
    height: 104rpx;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30rpx;

    .btn {
      width: 686rpx;
      // margin: 0 auto;
      height: 74rpx;
      background: linear-gradient(#FF696C, #F24833);
      border-radius: 66rpx;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #FFFFFF;
      font-size: 28rpx;
    }
  }

}